<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ProductEmailAFriend.ascx.cs"
    Inherits="Tathata.Web.Modules.Products.ProductEmailAFriend" %>
<%@ Register TagPrefix="nopCommerce" TagName="EmailTextBox" Src="~/Modules/EmailTextBox.ascx" %>
<div class="hl">
    <img src="<%=Page.ResolveUrl("~/images/sp.gif")%>" /></div>
<div style="position: relative; float: left; width: 100%">
    <div class="blockHeader">
        <img src="<%=Page.ResolveUrl("~/images/VerticalLine.gif")%>" style="margin-top: 14px;" /><b><%=GetLocaleResourceString("ProductEmailAFriendControl.Title")%></b>
        <br />
    </div>
    <div class="text1">
        <div style="float: left; padding-top: 10px;">
            <table>
                <tr>
                    <td style="text-align: left; vertical-align: middle;" colspan="2">
                        <b>
                            <asp:HyperLink ID="hlProduct" runat="server" CssClass="link" />
                        </b>
                        <br />
                        <asp:Label ID="lShortDescription" runat="server" />
                        <br />
                        <br />
                        <div class="hl">
                            <img src="<%=Page.ResolveUrl("~/images/sp.gif")%>" /></div>
                        <br />
                    </td>
                </tr>
                <tr>
                    <td style="text-align: left; vertical-align: middle;" colspan="2">
                        <strong>
                            <asp:Label runat="server" ID="lblEmailAFriend"></asp:Label></strong>
                    </td>
                </tr>
                <tr>
                    <td style="width: 100px; text-align: left; vertical-align: middle;">
                        <%=GetLocaleResourceString("ProductEmailAFriendControl.FriendsEmail")%>:
                    </td>
                    <td>
                        <nopCommerce:EmailTextBox runat="server" ID="txtFriendsEmail" ValidationGroup="ProductEmail"
                            Width="250px"></nopCommerce:EmailTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="width: 100px; text-align: left; vertical-align: middle;">
                        <%=GetLocaleResourceString("ProductEmailAFriendControl.YourEmailAddress")%>:
                    </td>
                    <td>
                        <asp:Label runat="server" ID="lblFrom"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="width: 100px; text-align: left; vertical-align: middle;">
                        <%=GetLocaleResourceString("ProductEmailAFriendControl.PersonalMessage")%>:
                    </td>
                    <td>
                        <asp:TextBox runat="server" ID="txtPersonalMessage" TextMode="MultiLine" Height="150px"
                            Width="250px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td style="text-align: left; vertical-align: middle;">
                        <asp:Button runat="server" ID="btnEmail" Text="Send email" ValidationGroup="ProductEmail"
                            OnClick="btnEmail_Click"></asp:Button>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</div>
